/// WithdrawOrderPageForPlatformRequestDto
class WithdrawOrderPageForPlatformRequestDto {
  /// 当前页 默认 1
  final int? pageNum;
  /// 每页记录数 默认 10
  final int? pageSize;
  /// 财务代理团队名称
  final String? teamName;
  /// 提现结果，1通过，0拒绝，2未处理
  final int? withdrawResult;
  /// 申请时间-开始
  final String? createTimeBegin;
  /// 申请时间-截止
  final String? createTimeEnd;

  WithdrawOrderPageForPlatformRequestDto({
    this.pageNum,
    this.pageSize,
    this.teamName,
    this.withdrawResult,
    this.createTimeBegin,
    this.createTimeEnd,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (pageNum != null) data['pageNum'] = pageNum;
    if (pageSize != null) data['pageSize'] = pageSize;
    if (teamName != null) data['teamName'] = teamName;
    if (withdrawResult != null) data['withdrawResult'] = withdrawResult;
    if (createTimeBegin != null) data['createTimeBegin'] = createTimeBegin;
    if (createTimeEnd != null) data['createTimeEnd'] = createTimeEnd;
    return data;
  }

  factory WithdrawOrderPageForPlatformRequestDto.fromJson(Map<String, dynamic> json) {
    return WithdrawOrderPageForPlatformRequestDto(
      pageNum: json['pageNum'],
      pageSize: json['pageSize'],
      teamName: json['teamName'],
      withdrawResult: json['withdrawResult'],
      createTimeBegin: json['createTimeBegin'],
      createTimeEnd: json['createTimeEnd'],
    );
  }
}